﻿using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Hrm.Core
{
    public class BlogComment : Entity
    {
        [MaxLength(50)]
        public string EvaluateUser { get; set; }

        [MaxLength(2000)]
        public string CommentText { get; set; }

        [JsonIgnore]
        public virtual BlogPost BlogPost { get; set; }

        [JsonIgnore]
        public virtual ICollection<BlogComment> BlogComments { get; set; }
    }
}
